3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
When your application is inactive, some other application might use a particular pointing device your application was using. That other application might also reset some of the controller channels. As a result, you need to keep track of the current controller state across the times your application is inactive. A controller state object (or, more briefly, a controller state ) consists mainly of the current channels and other settings of a controller. When your application is about to be inactivated, you should call the function Q3ControllerState_SaveAndReset to save the current controller state. Then, when your application is reactivated, you should call Q3ControllerState_Restore to restore the proper controller state.
Previous | QD3D Book | Overview | Chapter Contents | Next |